package com.sailfish.springbootdemo.pojo.db2;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sailfish.springbootdemo.pojo.db4.User;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (TbPcbMaterialFactory)实体类
 *
 * @author makejava
 * @since 2023-08-21 14:35:05
 */
public class PcbMaterialFactory implements Serializable {
    private static final long serialVersionUID = -13613235103498676L;

    private Integer pcbFactoryMaterialId;

    private Integer pcbMaterialLibraryAndFactoryId;

    private Integer factoryId;

    private String rowKey;

    private String version;
    /**
     * 板材认证是否通过
     * <p>
     * 1 认证通过
     * 2 认证未通过
     * 3 认证中
     * 4 待提交认证
     * 5 认证已过期
     */
    private Integer materialStatus;

    private String approver;//审核人

    private Integer openStatus;

    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String createUser;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private String updateUser;

    private Integer status;

    private Integer sort;

    private String material;

    private List<PcbMaterialLibrary> libraryList;

    private List<PcbMaterialFile> fileList;

    private List<User> approveUsers;

    public Integer getPcbFactoryMaterialId() {
        return pcbFactoryMaterialId;
    }

    public void setPcbFactoryMaterialId(Integer pcbFactoryMaterialId) {
        this.pcbFactoryMaterialId = pcbFactoryMaterialId;
    }

    public Integer getPcbMaterialLibraryAndFactoryId() {
        return pcbMaterialLibraryAndFactoryId;
    }

    public void setPcbMaterialLibraryAndFactoryId(Integer pcbMaterialLibraryAndFactoryId) {
        this.pcbMaterialLibraryAndFactoryId = pcbMaterialLibraryAndFactoryId;
    }

    public Integer getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Integer factoryId) {
        this.factoryId = factoryId;
    }

    public String getRowKey() {
        return rowKey;
    }

    public void setRowKey(String rowKey) {
        this.rowKey = rowKey;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getMaterialStatus() {
        return materialStatus;
    }

    public void setMaterialStatus(Integer materialStatus) {
        this.materialStatus = materialStatus;
    }

    public String getApprover() {
        return approver;
    }

    public void setApprover(String approver) {
        this.approver = approver;
    }

    public Integer getOpenStatus() {
        return openStatus;
    }

    public void setOpenStatus(Integer openStatus) {
        this.openStatus = openStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<PcbMaterialLibrary> getLibraryList() {
        return libraryList;
    }

    public void setLibraryList(List<PcbMaterialLibrary> libraryList) {
        this.libraryList = libraryList;
    }

    public List<PcbMaterialFile> getFileList() {
        return fileList;
    }

    public void setFileList(List<PcbMaterialFile> fileList) {
        this.fileList = fileList;
    }

    public List<User> getApproveUsers() {
        return approveUsers;
    }

    public void setApproveUsers(List<User> approveUsers) {
        this.approveUsers = approveUsers;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }
}

